
<%@ page errorPage="/mcom/error_page.jsp" %>
<%@ page import="java.util.*" %>
<%@ page import="java.text.*" %>
<%@ page import="eastar.util.*" %>
<%@ page import="mapo.save.common.*" %>
<%
	final String context_root		= "";
		
	final String session_dept_gbn	= StringUtil.nvl(session.getAttribute("session.dept_gbn")); 
	final String session_user_id	= StringUtil.nvl(session.getAttribute("session.user_id"));
	final String session_user_name	= StringUtil.nvl(session.getAttribute("session.user_name"));
	final String session_user_auth	= StringUtil.nvl(session.getAttribute("session.user_auth"));
	final String session_dept_id	= StringUtil.nvl(session.getAttribute("session.dept_id"));
	final String session_dept_name	= StringUtil.nvl(session.getAttribute("session.dept_name"));
	final String session_team_auth	= StringUtil.nvl(session.getAttribute("session.team_auth"));

	String remoteAddr = request.getRemoteAddr();


	if (remoteAddr.indexOf("98.14.") < 0) {
		return;
	}

	
	if (session_user_id == null || session_user_id.equals("")) {    
%>	
		<script>
			if (opener == undefined || opener == null) {
				top.location.href = "/";
			} else {
				opener.location.href = "/";
				self.close();
			}
		</script>
<%		
	}
	

	Calendar cal = Calendar.getInstance();
	SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd");

	final String TODAY 		= df.format(cal.getTime());

	
	CommonList summary	= new CommonList();
%>